using System;

namespace MirLda.BL.Objects.News
{
	/// <summary>
	/// NewsItem.
	/// </summary>
	public class NewsItem
	{
		#region members

		private int _newsItemId;
		private string _newsItemTitle;
		private string _newsItemAnnonce;
		private string _newsItemContent;

		#endregion

		#region properties

		public string NewsItemContent
		{
			get{ return Utils.StrOrEmpty( _newsItemContent ); }
			set{ _newsItemContent = value; }
		}

		public string NewsItemAnnonce
		{
			get{ return Utils.StrOrEmpty( _newsItemAnnonce ); }
			set{ _newsItemAnnonce = value; }
		}

		public string NewsItemTitle
		{
			get{ return Utils.StrOrEmpty( _newsItemTitle ); }
			set{ _newsItemTitle = value; }
		}

		public int NewsItemId
		{
			get{ return _newsItemId; }
		}


		#endregion

		#region constructor

		internal NewsItem( int newsItemId )
		{
			_newsItemId = newsItemId;
		}

		#endregion
	}
}
